package cn.kgc.configuration;

import com.mchange.v2.c3p0.ComboPooledDataSource;
import org.apache.commons.dbutils.QueryRunner;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;

import javax.sql.DataSource;
import java.beans.PropertyVetoException;

/**
 * 让这个类代替spring-config.xml配置文件
 */
@Configuration
@ComponentScan(basePackages="cn.kgc")
@Import(DBConfiguration.class)
public class SpringConfiguration {



}
